<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c"%>
<%@ taglib uri="/WEB-INF/tld/fmt.tld" prefix="fmt"%>

<table id="listMonitoringPointList" cellspacing="0" cellpadding="0">
	<thead>
		<tr>
			<td class="rvimscheckbox"><input type="checkbox" onclick="selectAllForList('listMonitoringPointList')"></td>
			<td>编号</td>
			<td>名称</td>
			<td>车道方向</td>
			<td>设备编号</td>
			<td>经度</td>
			<td>纬度</td>
			<td>路段名称</td>
			<td>操作</td>
		</tr>
	</thead>
	<tbody>
		<c:forEach items="${page.results}" var="monitoringPoint">
			<tr id="objId_${monitoringPoint.id}">
				<td><input type="checkbox" name="monitoringPointIds" value="<c:out value='${monitoringPoint.id}'/>"></td>
				<td><c:out value="${monitoringPoint.monitornum}"/></td>
				<td><c:out value="${monitoringPoint.monitorname}"/></td>
				<td>
					<c:choose>
						<c:when test="${monitoringPoint.directionid == 0}">直走</c:when>
						<c:when test="${monitoringPoint.directionid == 1}">左转</c:when>
						<c:when test="${monitoringPoint.directionid == 2}">右转</c:when>
						<c:otherwise>掉头</c:otherwise>
					</c:choose>
				</td>
				<td><c:out value="${monitoringPoint.monitornum}"/></td>
				<td><c:out value="${monitoringPoint.longitude}"/></td>
				<td><c:out value="${monitoringPoint.latidue}"/></td>
				<td><c:out value="${monitoringPoint.sectionid}"/></td>
				<td class="rvimsoperation">
					<a href="javascript:ajaxShowMonitoringPointView('${monitoringPoint.id}')" title="详细信息"><span class="ui-icon ui-icon-document"></span></a> 
					<a href="javascript:ajaxShowMonitoringPointEdit('${monitoringPoint.id}')" title="修改"><span class="ui-icon ui-icon-pencil"></span></a> 
					<a href="javascript:ajaxDeleteMonitoringPointById('${monitoringPoint.id}')" title="删除"><span class="ui-icon ui-icon-trash"></span></a>
				</td>
			</tr>
		</c:forEach>
	</tbody>
</table>
<div id="rvimsPaginationPanel"></div>
<div id="dialog1"></div>
<div id="dialog2"></div>
<script type="text/javascript">
	setTableCSS("listMonitoringPointList");
	setPagination("rvimsPaginationPanel","${page.totalPageCount}","${page.pageNum}","${page.pageSize}","${page.totalCount}",ajaxFindMonitoringPointSearchList);
</script>